"""
资产模块 - 提供各种资产类型的实现
"""

# 导入资产基类
from FDAS.data.assets.base import Asset

# 导入资产类型常量
from FDAS.data.constants import (
    ASSET_TYPE_STOCK,
    ASSET_TYPE_FUTURE,
    ASSET_TYPE_OPTION,
    ASSET_TYPE_FUND,
    ASSET_TYPE_INDEX,
    ASSET_TYPE_ETF
)

# 导入各种资产类型
from FDAS.data.assets.stock import Stock
from FDAS.data.assets.fund import Fund
from FDAS.data.assets.future import Future
from FDAS.data.assets.option import Option
from FDAS.data.assets.index import Index
from FDAS.data.assets.etf import ETF

# 资产类型映射
ASSET_CLASS_MAP = {
    ASSET_TYPE_STOCK: Stock,
    ASSET_TYPE_FUND: Fund,
    ASSET_TYPE_FUTURE: Future,
    ASSET_TYPE_OPTION: Option,
    ASSET_TYPE_INDEX: Index,
    ASSET_TYPE_ETF: ETF
}